import request from "@/utils/request";

export function getEquipmentConfigByPage(query) {
  return request({
    url: `/system/equipmentConfig/getEquipmentConfigByPage`,
    method: "post",
    data: query,
  });
}

// 增加流程模型

export function addEquipmentConfig(query) {
  return request({
    url: `/system/equipmentConfig/addEquipmentConfig`,
    method: "post",
    data: query,
  });
}
/**
 *
 * @param {*} query
 * @returns
 */
export function delEquipmentConfig(query) {
  return request({
    url: `/system/equipmentConfig/delEquipmentConfig`,
    method: "post",
    data: query,
  });
}

export function updateEquipmentConfig(query) {
  return request({
    url: `/system/equipmentConfig/updateEquipmentConfig`,
    method: "post",
    data: query,
  });
}
